package com.yfp.file.service.impl;

import com.yfp.file.domain.VideoResource;
import com.yfp.file.mapper.VideoResourceMapper;
import com.yfp.file.service.VideoResourceService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * 视频资源表(VideoResource)表服务实现类
 *
 *
 * @since 2023-12-25 16:16:22
 */
@Service("videoResourceService")
public class VideoResourceServiceImpl implements VideoResourceService {
    @Resource
    private VideoResourceMapper videoResourceMapper;

    /**
     * 新增数据
     *
     * @param videoResource 实例对象
     * @return 实例对象
     */
    @Override
    public VideoResource insert(VideoResource videoResource) {
        this.videoResourceMapper.insert(videoResource);
        return videoResource;
    }

}
